'MESSAGE("Install rexxsupport.library"+CHR(10)+"in your libs: drawer"+CHR(10)+"before using this script")'
exit
end
end
a=setclip(sauvegarde.port,1)
'MESSAGE("An automatic saving"+CHR(10)+"all two minutes will be"+CHR(10)+"done if the contents of the"+CHR(10)+"current window has been modified."+CHR(10)+"Run this script again"+CHR(10)+"to stop his execution.")'
do forever
call delay(6000)
if ~show(p, port) then goto error
sauver_auto = getclip(sauvegarde.port)
if sauver_auto=1 then do
'MODIF(-1)'
if result=1 THEN do
'FILEPART("")'
if result="NoName" then do /* Version 2.01 */
'REQUEST("Attention: the file"+CHR(10)+"has not been named, his"+CHR(10)+"saving is impossible"+CHR(10)+"Do you want to rename it?")'